package app;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * description:
 * <p>
 * change history:
 * date             defect#             person             comments
 * ---------------------------------------------------------------------------------------------------------------------
 * 2020/8/29          ********            lightyh                create file
 *
 * @author: lightyh
 * @date: 2020/8/29 17:32
 * @copyright: 2020, FA Software (Shanghai) Co., Ltd. All Rights Reserved.
 */
@ComponentScan("app")
@Configuration
public class AppConfig2 {

	@Bean
	public E e() {
		f();
		System.out.println("e");
		return new E();
	}

	@Bean
	public F f(){
		System.out.println("f");
		return new F();
	}
}